package com.usian.utils.common.filter;

import org.springframework.core.annotation.Order;
import org.springframework.web.filter.GenericFilterBean;

import javax.servlet.FilterChain;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.xml.ws.WebFault;
import java.io.IOException;
@Order(1)
@WebFault
public class AdmainTokenfilters  extends GenericFilterBean {
    @Override
    public void doFilter(ServletRequest req, ServletResponse res, FilterChain filterChain) throws IOException, ServletException {
        System.out.println("进入过滤器");

        filterChain.doFilter(req,res);
    }
}
